<template>
  <div class="travel-title">
    <h2>
      <a href="###">{{ title }}</a>
    </h2>
    <a href="###">{{ subTitle }}</a>
  </div>
</template>

<script>
export default {
  name: "HomeLeftTitle",
  props: {
    title: {
      type: String,
    },
    subTitle: {
      type: String,
    },
  },
};
</script>

<style lang="stylus" scoped>
.travel-title {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 35px;
  line-height: 35px;
  margin-bottom: 12px;
}
</style>